/*
 * MainView.java
 *
 * Created on December 11, 2007, 8:47 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package com.fie.views;

/**
 *
 * @author joseacuna-rohter
 */
import com.fie.contentpanes.LogInContentPane;
import com.fie.contentpanes.PracticeContentPane;
import com.fie.contentpanes.StockTableContentPane;
import java.awt.Color;
import javax.swing.*;
import soap.StockQuote;
import soap.StockQuoteSoap;
// Importing the package that contains all the Swing Components and Classes.
    
public class MainView {
    
    public static void main(String[] args) {
        
        SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                new MainView();
            }
        });
    }
    
    
    public MainView() {
            initComponents();      
    }
    
    
    
    
    public void initComponents(){
               
        mainFrame = new JFrame("Financial Information Exchange");
        
        //Pass in the mainFrame so that we can modify its contents along the way
        licp = new LogInContentPane(mainFrame);
        mainFrame.setContentPane(licp.createContentPane());
        //Display the window.
        mainFrame.setSize(750, 300);
        mainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        
        mainFrame.setVisible(true);
           
    }
    
    
   
    
    
    
    //Declare all variables here:
    private JFrame mainFrame;
    private StockTableContentPane stcp;
    private LogInContentPane licp;
}
